package com.arnold.demo.journal.config

/**
  * Created by arnold.zhu on 2017/7/20.
  */
object Config {

  // Redis
  val REDIS_HOST = "127.0.0.1"
  val REDIS_PORT = 6379
  val REDIS_MAXTOTAL = 500
  val REDIS_MAXIDLE = 100
  val REDIS_MAXWAITMILLIS = 60000

  // Kudu
  val KUDU_MASTER = "172.16.98.195:7051"
  val KUDU_TABLE = "kudu_invoices2"

  // Kafka
  val KAFKA_JOURNAL_TOPIC = "redis_pos_journals6"
  val KAFKA_ERROR_TOPIC = "redis_pos_error3"

  val KAFKA_BROKERS = "172.16.98.184:9092,172.16.98.185:9092,172.16.98.186:9092"
  // val ZOOKEEPER_CONNECT = "172.16.98.184:2181,172.16.98.185:2181,172.16.98.186:2181"
  val KAFKA_GROUP_ID = "egift_log_c_2"

  // 其他的配置
  val MOCK_DATA = true
}
